#include <iostream>
#include <cstring>

template<unsigned N, unsigned M>
int compare(const char (&p1) [N], const char (&p2) [M]){
    return strcmp(p1 , p2);
}

int main(int argc, char *argv[]){
    decltype("123") &q1 = "123";
    decltype("dwqwd") &q2 = "dwqwd";

    std::cout << compare("123", "dwqwd") << std::endl;
    std::cout << strcmp("123", "dwqwd") << std::endl;
    std::cout << strcmp(q1, q2) << std::endl;

    return 0;
}